package com.gitee.xmhzzz.device.service.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @ClassName Service
 * @Description
 * @Author wzq
 * @Date 2024/5/23 18:11
 * @Version 1.0
 */
@Data
public class Service {

    @Schema(description = "服务唯一标识符")
    private String identifier;

    @Schema(description = "服务名称")
    private String name;

    @Schema(description = "服务描述")
    private String desc;

    @Schema(description = "是否是标准功能的必选服务：是（true），否（false）")
    private Boolean required;

    @Schema(description = "async（异步调用）或sync（同步调用）")
    private String callType;

    @Schema(description = "服务下发数据")
    private List<Param> inputData;

    @Schema(description = "设备上报")
    private List<Param> outputData;

    @Schema(description = "服务对应的方法名称（根据identifier生成）")
    private String method;


}
